Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WEB-5 SYNTAX] white40 updates #584

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

nathan-ong
Copy link
Contributor

@nathan-ong nathan-ong commented Oct 25, 2024

Jira
In dark mode, it makes it pretty clear which background colors are broken in syntax -- white40, white70, gray270:
Screenshot 2024-10-25 at 9 49 55 AM (white40 and white70) are also duplicated b/c they appeared in the allColors.ts file twice.

The reason for this is because the colors.module.css file only had cambio class names for these e.g.
.cambioWhite40,.cambioWhite70, .cambioGray270
vs
.white40, .white70, .gray270

Because of this, the background color css lookup wasn't working because "white40" didn't map to any css classes.

After change:
Screenshot 2024-10-25 at 9 48 57 AM

Question, should we get rid of all classes that start with .cambio*? And do we need to distinguish cambio specific colors in our allColors.ts file anymore? I don't think any of the cambio classes are being accessed anymore, so the css seems safe to remove? I can do that in a follow up PR

Copy link

changeset-bot bot commented Oct 25, 2024

⚠️ No Changeset found

Latest commit: b23c022

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Oct 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
syntax ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2024 4:56pm

@nathan-ong nathan-ong changed the title Nathano/white40 updates [WEB-5 SYNTAX] white40 updates Oct 25, 2024
@nathan-ong nathan-ong merged commit 3559f55 into Cambly:main Oct 25, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants